package com.it.springbootmybatis.service;

import com.it.springbootmybatis.domain.Company;
import com.it.springbootmybatis.query.CompanyQuery;

import java.util.List;

/**
 * @projectName: springboot-practice
 * @package: com.it.springbootmybatis.service
 * @className: CompanyService
 * @author: Navid
 * @description: TODO
 * @date: 2021/10/23 13:15
 * @version: 1.0
 */
public interface ICompanyService {

    /**
     * 查询所有
     *
     * @return: 公司列表数据
     */
    List<Company> findAll();

    void insert(Company company);

    void delete(int id);

    List<Company> queryPaged(CompanyQuery companyQuery);

}
